package com.yenlien.traceyun.business.controller.response;

import com.yenlien.traceyun.business.entity.BaseSoil;
import com.yenlien.traceyun.business.entity.BaseSoilEquipment;
import com.yenlien.traceyun.business.entity.Equipment;

import java.util.ArrayList;
import java.util.List;

/**
 * @author: bigwangy@sina.com
 * @create: 2020-11-24
 * @description:
 **/
public class BaseSoilView extends BaseSoil {

    private List<Equipment> equipments = new ArrayList<>();

    private Object plantList = new ArrayList<>();

    private List<BaseSoilEquipment> soilEquipments;//设备和地块信息

    // 设备序列号
    private String serial;

    private String pName;

    public List<Equipment> getEquipments() {
        return equipments;
    }

    public void setEquipments(List<Equipment> equipments) {
        this.equipments = equipments;
    }

    public String getpName() {
        return pName;
    }

    public void setpName(String pName) {
        this.pName = pName;
    }

    public List<BaseSoilEquipment> getSoilEquipments() {
        return soilEquipments;
    }

    public void setSoilEquipments(List<BaseSoilEquipment> soilEquipments) {
        this.soilEquipments = soilEquipments;
    }


    public String getSerial() {
        return serial;
    }

    public void setSerial(String serial) {
        this.serial = serial;
    }

    public Object getPlantList() {
        return plantList;
    }

    public void setPlantList(Object plantList) {
        this.plantList = plantList;
    }
}
